﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FONCREAGROINTEGRAL.Models
{
    [MetadataType(typeof(valCcostoporpersona))]
    public partial class CCOSTOPORPERSONA
    {
        [Bind(Exclude = "idccostoporpersona")]
        public class valCcostoporpersona
        {
            [Required(ErrorMessage = "* Seleccione Centro de Costo")]
            public object IdCCosto { get; set; }

            [Required(ErrorMessage = "* Porcentaje Obligatorio")]
            public object porcentaje { get; set; }

            [Required(ErrorMessage = "* Valor Obligatorio")]
            public object valor { get; set; }

            [Required(ErrorMessage = "* NO TIENE UN MES ACTIVO")]
            public object idejerciciomes { get; set; }
          
            
        }
    }
}